package com.itany.mall.service;

import java.util.List;

import com.itany.mall.entity.ProductType;
import com.itany.mall.exception.ProductTypeNameExistsException;
import com.itany.mall.exception.ServiceException;

public interface ProductTypeService {

	List<ProductType> findAll() throws ServiceException;

	void addProductType(String name) throws ProductTypeNameExistsException, ServiceException;

}
